package entity;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

@XmlRootElement(name = "Ingredients")
public class Ingredients implements Serializable {
    private String macCode;

    private String wipEntity;

    private Item[] item;

    @XmlAttribute
    public String getMacCode() {
        return macCode;
    }

    public void setMacCode(String macCode) {
        this.macCode = macCode;
    }

    @XmlAttribute
    public String getWipEntity() {
        return wipEntity;
    }

    public void setWipEntity(String wipEntity) {
        this.wipEntity = wipEntity;
    }

    @XmlElement(name = "item", nillable = true)
    public Item[] getItem() {
        return item;
    }

    public void setItem(Item[] item) {
        this.item = item;
    }
}
